﻿@model DxMvcApplication.Areas.Administrator.Models.Dictionary.AutoBusinessModel
@{
    ViewBag.Title = "AutoBusinessDetail";
    Layout = "~/Areas/Administrator/Views/Shared/_Popup.cshtml";
}

<section class="accordion-report ui-accordion ui-widget ui-helper-reset ui-accordion-icons">
    <h2 class="title-accordion ui-accordion-header ui-helper-reset ui-state-default ui-state-active ui-corner-top">custom reports</h2>
    <section class="para-report bd-bottom-1 ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content-active">
        <section class="main-form-content report-form none-padd-bottom">
            @using (Html.BeginForm("SaveData", "Customer", FormMethod.Post, new { id = "saveData" }))
            {
                @Html.HiddenFor(x=>x.AutoBusinessId)
                <fieldset>
                    @*<legend>Thông tin khách hàng</legend>*@
                    <section class="input">
                        <span class="question-icon-2"></span>
                        <label>Mã ĐK</label>
                        @Html.TextBoxFor(x => x.AutoBusinessCode, new { style = "width: 100px;" })
                        <span class="question-icon-2"></span>
                        <label>Tên ĐK</label>
                        @Html.TextBoxFor(x => x.AutoBusinessName, new { style = "width: 400px;" })
                    </section>
                    <section class="input">
                        <span class="question-icon-2"></span>
                        <label>Mô tả</label>
                        @Html.TextBoxFor(x => x.Description, new { style = "width: 620px;" })
                    </section>
                </fieldset>
                <fieldset>
                  @*  <legend>Thông tin người liên hệ</legend>*@
                    <section class="input">
                        <span class="question-icon-2"></span>
                        <label>TK có</label>
                        @Html.TextBoxFor(x => x.CreditAccountNumber, new { style = "width: 620px;" })
                    </section>
                    <section class="input">
                        <span class="question-icon-2"></span>
                        <label>TK nợ</label>
                        @Html.TextBoxFor(x => x.DebitAccountNumber, new { style = "width: 200px;" })
                        <span class="question-icon-2"></span>
                        <label>Loại chứng từ</label>
                        @Html.TextBoxFor(x => x.RefTypeId, new { style = "width: 300px;" })
                    </section>
                    <section class="input">
                        <span class="question-icon-2"></span>
                        <label>Nghiệp vụ</label>
                        @Html.TextBoxFor(x => x.VoucherTypeId, new { style = "width: 620px;" })
                    </section>
                   @* <section class="input">
                        <span class="question-icon-2"></span>
                        <label>Ghi chú</label>
                        @Html.TextBoxFor(x => x.Description, new { style = "width: 620px;" })
                    </section>*@
                    <section>
                        <span class="question-icon-2"></span>
                        <label>Ngừng theo dõi</label>
                        @Html.CheckBoxFor(x => x.IsActive)
                    </section>
                    <div class="submit-r">
                        <input type="submit" class="submit-bt" value="Cập nhật">
                        <input type="button" class="reset-bt" value="Hủy">
                    </div>
                </fieldset>
            }
        </section>
    </section>
</section>

